home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11094 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.0 KB  |  31 lines

  1. Newsgroups: comp.lang.c
  2. Path: uu4news.netcom.com!zodiac!szh
  3. From: szh@zcon.com (Syed Zaeem Hosain)
  4. Subject: Re: leap year
  5. Message-ID: <1996Mar21.212438.23146@zcon.com>
  6. Sender: szh@zcon.com (Syed Zaeem Hosain)
  7. Nntp-Posting-Host: zodiac
  8. Reply-To: szh@zcon.com
  9. Organization: Z Consulting Group
  10. References: <4iq609$evq@daryl.scsn.net>
  11. Date: Thu, 21 Mar 1996 21:24:38 GMT
  12.  
  13. In article <4iq609$evq@daryl.scsn.net>, shrader@scsn.net (Scott Shrader) writes:
  14. >can anyone tell me in C how do I write a program so it can tell me if a year 
  15. >is a leap year
  16.  
  17. Your question is answered in the FAQ. Please get it from rtfm.mit.edu and
  18. look at the answer to:
  19.  
  20. 20.32:  Will 2000 be a leap year?  Is (year % 4 == 0) an accurate test
  21.         for leap years?
  22.  
  23.  
  24.  
  25.  
  26. -- 
  27. -------------------------------------------------------------------------
  28. | Syed Zaeem Hosain          P. O. Box 610097            (408) 441-7021 |
  29. | Z Consulting Group        San Jose, CA 95161             szh@zcon.com |
  30. -------------------------------------------------------------------------
  31.